package com.itcoon.transform4j.demo.web.vo;

import com.itcoon.transform.base.annotation.AssembleModel;
import com.itcoon.transform.base.annotation.AssembleModelProperty;
import com.itcoon.transform4j.demo.domain.Gender;
import com.itcoon.transform4j.demo.web.command.AuthorCommand;
import lombok.Data;

/**
 * @author Miaoxia Yu
 * @date 2020-11-06
 */
@Data
@AssembleModel(from= AuthorCommand.class)
public class AuthorVCO {

    @AssembleModelProperty
    private String name;

    @AssembleModelProperty
    private Gender gender;
}
